//请求评论

import axios from "axios"

export const getComment = ()=>axios.get("/api/students/getstulist")

//添加评论

export const addComment = (content,name) =>axios.post("/api/students/addlist",{
    content,
    name
})

//删除评论
export const delComment = (id) =>axios.get(`/api/students/del?id=${id}`)